package com.lagou.edu.dao;

import com.lagou.edu.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author zhangxuyuan
 * @version 1.0
 * @date 2020/11/5
 */
public interface UserRepository extends JpaRepository<User,Long> {

    User findByNameAndPhone(String name,String phone);


}
